package com.amoyt.project.domain.dto.update;

import com.amoyt.project.domain.dto.insert.ContentBlockAddDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.checkerframework.checker.units.qual.C;

import java.util.List;

/**
 * @Date: 2025/8/25
 * @Time: 16:46
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "文章修改类")
public class ArticleUpdateDto {

    @Schema(description = "文章主键")
    private String articleId;

    @Schema(description = "文章标题")
    private String articleTitle;

    @Schema(description = "项目编号")
    private String projectId;

    @Schema(description = "分类(1-公示公告,2-通知公告,3-意见征集公告,4-新闻发布)")
    private Integer category;

    @Schema(description = "发布单位")
    private String publisherUnit;

    @Schema(description = "发布状态(0-草稿-默认,1-已发布)")
    private Integer isPublished;

    @Schema(description = "是否公开信息(0-默认不公开，1-公开)")
    private Integer isOpen;

    @Schema(description = "内容块列表")
    private List<ContentBlockUpdateDto> contentBlockList;

}
